package cn.fintecher.gis.model;

import lombok.Data;

import java.util.Map;

/**
 * Created by ChenChang on 2017/8/25.
 */
@Data
public class PayModel {
    private Long totalFee;
    private String account;
    private String orderSerialNumber;
    private String paymentPassword;


    public PayModel(Map<String, String> map) {
        this.totalFee = Long.valueOf(map.get("t"));
        this.account = map.get("a");
        this.orderSerialNumber = map.get("o");
        this.paymentPassword = map.get("p");
    }
}
